package com.jt.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("tb_item_cat")
public class ItemCat extends BasePojo{

    @TableId(type = IdType.AUTO)
    private Long id;//主键id
    private Long parentId;//父级Id  适用于有父子关系的数据
    private String name;//名称
    private Integer status;//状态信息
    private Integer sortOrder;//排序号
    private Boolean isParent;//是否为父级

}
